package com.wuxiaoqin.server.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin
@RestController
public class HelloController {
    @ApiOperation(value = "测试springSecurity 的token")
    @GetMapping("/hello")
    public String hello1(){
        return "hello";
    }


}
